package com.example.newsapp.data.database

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "news_items")
data class NewsItems(
    @PrimaryKey(autoGenerate = true)
    val id: Int = 0,
    val title: String,
    var source: String,
    var picture: String,
    var text: String,
    var num: Int,
    var type: String
)